package com.orchidea.uml.model
{
    import flash.events.EventDispatcher;

    public class NamedElementImpl extends EventDispatcher implements INamedElement
    {

        private var _name : String;

        /**
         * {@inheritDoc}
         */
        public function get name():String
        {
            return _name;
        }

        /**
         * {@inheritDoc}
         */
        public function set name(value:String):void
        {
            _name = value;
        }


        public override function toString():String
        {
            return name;
        }
    }
}